package com.fastloan.mgt.daily.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.Date;
import java.util.List;

/**
 * @author yanwe
 *         createTime 2017-09-2017/9/12 17:10
 */
public class WorkLocationVo {

    /**
     * 工作地点ID
     */
    @TreeId
    private Integer workLocationId;

    /**
     * 工作地点父ID
     */
    @TreeParentId
    private Integer workLocationParentId;

    /**
     * 工作地点
     */
    private String workLocation;

    @TreeChild
    private List<WorkLocationVo> workLocationChildList;

    @JsonIgnore
    private Date createTime;

    @JsonIgnore
    private Date modifyTime;

    private String userId;

    public Date getModifyTime() {
        return modifyTime;
    }

    public WorkLocationVo setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public WorkLocationVo setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public WorkLocationVo setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public Integer getWorkLocationId() {
        return workLocationId;
    }

    public WorkLocationVo setWorkLocationId(Integer workLocationId) {
        this.workLocationId = workLocationId;
        return this;
    }

    public Integer getWorkLocationParentId() {
        return workLocationParentId;
    }

    public WorkLocationVo setWorkLocationParentId(Integer workLocationParentId) {
        this.workLocationParentId = workLocationParentId;
        return this;
    }

    public String getWorkLocation() {
        return workLocation;
    }

    public WorkLocationVo setWorkLocation(String workLocation) {
        this.workLocation = workLocation;
        return this;
    }

    public List<WorkLocationVo> getWorkLocationChildList() {
        return workLocationChildList;
    }

    public void setWorkLocationChildList(List<WorkLocationVo> workLocationChildList) {
        this.workLocationChildList = workLocationChildList;
    }
}
